import React from 'react';

import { useShowBar } from './hooks/useTabbar';

import MyRoute from './router';
import Tabbar from './components/Tabbar';
import './css/index.css';

export default function App() {
  const { showBar } = useShowBar();
  return (
    <>
      {/* 其他内容 */}
      <MyRoute>{showBar && <Tabbar></Tabbar>}</MyRoute>
    </>
  );
}
